package com.share.starter.sharding.config;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties("sharding")
public class AutoConfigruationProperties {
    @ApiModelProperty("oss文件上传的url")
    private String endpoint = "http://tydic-jd.oss-cn-zhangjiakou.aliyuncs.com";
    private String accessKeyId = "LTAIVgyegB3S2zjd";
    private String accessKeySecret = "q1Scvrq7Gt7kOWp4PyNxfUNzEAQAN6";
    private String bucketName = "tydic-jd";
    private String basePath = "jdFile";
    @ApiModelProperty("oss文件下载的url前缀")
    private String readUrl;
}
